GrafEq - The Algebraic Relation Window
GrafEq logo
Macintosh Manual

Chapter 1. The Algebraic Relation Window



The algebraic relation window is for entering the algebraic specification of a relation. One appears automatically at startup, after the title screen is removed. More can be brought up by selecting New Relation from the Graph menu. Figure 1.1 shows a blank algebraic relation window:

A blank algebraic relation window
Figure 1.1: A blank algebraic relation window

The algebraic relation window consists of the following elements:

In addition, an easy button floating window is available for help in relation entry. Easy buttons are especially useful when entering symbols not readily available from the standard keys on a keyboard. For details, refer to the Easy Button Floating Window chapter.


The elements of the algebraic relation window are explained as follows:
Hint:An algebraic window’s title bar, parameter bar, and relation constraints are synchronized with, or equivalent to, their structural relation window counterparts. Custom ticks windows have the same setup for title and parameter bars. Therefore, the corresponding manual sections are equivalent.

Title bar
The title bar displays the graph title and the relation title followed by the “(Algebraic)” label, which helps identify the window as an algebraic relation window. The relation title can be changed using the parameter bar's title edit box. Figure 1.2 shows the title bar:

The title bar of an algebraic window
Figure 1.2: The title bar of an algebraic window

Parameter bar
The parameter bar is for customizing the relation title, starting and stopping graphing, modifying the graph colour, and changing the font size used to display contraints within the algebraic relation window. Figure 1.3 shows the parameter bar:

The parameter bar of an algebraic window
Figure 1.3: The parameter bar of an algebraic window

The elements, from left to right, are explained as follows:

Title edit box
The title edit box is for changing the relation’s title. Custom titles are useful in demonstrations and for print-outs. The default title, “Relation #1”, is easily changed: click on the title edit box to start editing. The new title will replace the old one in all menus, windows, and buttons that show the relation’s title.

Active checkbox
The Active checkbox is for starting and stopping relation plotting in open graph view windows. Clicking on the checkbox, or the checkbox name, toggles between the selected and unselected states. Deselecting the checkbox halts graph plotting and hides the relation from all graph views. Selecting the checkbox resumes graph plotting from where it left off and shows the relation in all graph views.
Hint:The Active checkbox is greyed out and unavailable if any relation constraints within the window are invalid.
Colour pop-up menu
The Colour pop-up menu is for changing the colour used for the relation in graph views. This control is useful for optimizing the clarity of graph views. The colour can be changed by clicking on the Colour box to access the pop-up colour menu, and then selecting the desired colour from the menu. For black-and-white graphs, a Pattern pop-up menu replaces the Colour pop-up menu. Colour computers can display black-and-white graphs. For more information, refer to the colour buddy section of the View Buddy Floating Window chapter.

Font Size pop-up menu
The Font Size pop-up menu is for changing the font size used to display relation constraints in the relation window. This control is useful for presentations via an overhead liquid crystal display (LCD) or a large screen television. The font size can be changed by clicking on the Font Size pop-up menu to bring up a menu of available font sizes, and then selecting a new size from the menu. All constraints of the current algebraic relation window will be displayed in the selected font size.
Hint:Some options in the algebraic relation window’s parameter bar do not change the behaviour or the appearance within the algebraic window itself.
  • The Active checkbox affects the behaviour (graphing) of graph view windows.
  • The Colour pop-up menu affects the appearance (graph colour) of graph view windows.

Constraint fields
Constraint fields are for entering relation constraints. The constraints entered are displayed in standard mathematics format. While a constraint is being entered, prompts appear at the bottom of the constraint field to offer basic tips during the specification process. Figure 1.4 shows a sample relation with two constraints (in two constraint fields):

An algebraic window with two constraint fields
Figure 1.4: An algebraic window with two constraint fields

While a constraint is being entered or changed,

Relation constraints are presented in standard mathematics format. When functions are entered using multiple characters, the characters are presented in red until GrafEq recognizes them as a function name: red signifies unrecognized entries. GrafEq can interpret “sin” as the sine function, instead of the product “s×i×n”, only after an argument, such as x, is entered. A good example is the square root function, when entered as “sqrt”: GrafEq will replace the letters with a graphical radical symbol only after an argument is started.

Standard mathematics format is desirable when including relations in handouts or documents, and can be done by copying relations from GrafEq and pasting them into a word processor. The formatted presentation also gives some visual feedback that constraints are interpreted as intended.

You can move from one constraint to the next by pressing the tab key; if there is no next constraint, a new one will be created. Pressing the tab key while the shift key is held down will move you on to the previous constraint; if there is no previous constraint, a new one will be created.
Hint:If the cursor is positioned away from the end of the relation string during editing, all characters to the right side of the cursor become unformatted.
Hint:With the default preference settings, unformatted characters are shown in solid red on colour displays, but are outlined in black (not filled in) on black-and-white displays.
Tip:The “Symbol” and “Times” TrueType fonts must be installed in order to produce attractive screen output, unless the font settings have been changed in the preferences.
Tip:More information on the format and structure of constraints and the parser is available in the How GrafEq Works chapter.

Conclusion

To conclude this chapter of the manual, here are some additional hints and tips about the algebraic relation window:
Navigation Options
jump up to theTable of Contents

go back to Introduction
review The Algebraic Relation Window
continue on to The Easy Button Floating Window
send us email